package models.System.Headline;

import java.util.ArrayList;
import java.util.List;

/**
 * Created by Administrator on 2018-08-04.
 * 第一个集合发送增加信息
 * 第二个集合发送减少信息
 */
public class Payment {
    public int Id;
    public String title;
    public static List<Payment> payments(){
        Payment payment = new Payment();
        payment.Id=1;
        payment.title = SystemTitle.SystemRechargeTitle;
        List<Payment> payments = new ArrayList<Payment>();
        payments.add(payment);
        payment = new Payment();
        payment.Id=2;
        payment.title = SystemTitle.SystemCompensation;
        payments.add(payment);
        payment = new Payment();
        payment.Id=3;
        payment.title = SystemTitle.SystemDistribution;
        payments.add(payment);
        payment = new Payment();
        payment.Id=4;
        payment.title = SystemTitle.SystemNormalRecharge;
        payments.add(payment);

        payment = new Payment();
        payment.Id=5;
        payment.title = SystemTitle.SystemFirstGift;
        payments.add(payment);
        return payments;
    }

    public static List<Payment> reducePaymsg(){
        List<Payment> payments = new ArrayList<Payment>();

        Payment payment = new Payment();
        payment.Id =1;
        payment.title = SystemTitle.SystemIllegalOperation;
        payments.add(payment);

        payment = new Payment();
        payment.Id =2;
        payment.title = SystemTitle.SystemAbnormality;
        payments.add(payment);

        payment = new Payment();
        payment.Id =3;
        payment.title = SystemTitle.SystemPurchaseOfTemplates;
        payments.add(payment);

        payment = new Payment();
        payment.Id =4;
        payment.title = SystemTitle.SystemPurchaseAndConsumption;
        payments.add(payment);

        return payments;
    }
}
